package com.zy.cat.entity.dev.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.zy.cat.entity.dev.CatDevRemitInfo;
public interface CatDevRemitInfoRepository extends JpaSpecificationExecutor<CatDevRemitInfo>,  JpaRepository<CatDevRemitInfo, String>{
	//查询用户提现次数
	int countByPidAndRtypeInAndTstatusNot(String pid,List<Integer> rtypeList,int tstatus);
	
	//查询用户提现次数
	int countByPidAndRtypeInAndTstatus(String pid,List<Integer> rtypeList,int tstatus);
	
	//查询提现记录
	CatDevRemitInfo findByOid(String oid);
}
